<meta http-equiv="content-type" content="text/javascript; charset=utf-8" />
<title><?php echo isset($title) ? $title : 'Chamroeun Microfinance Limited';?></title>
<link href="<?php echo base_url(); ?>media/site/css/style.css" rel="stylesheet" type="text/css" />
<link href="<?php echo base_url(); ?>media/css-global/zero.css" rel="stylesheet" type="text/css" />
<script src="<?php echo base_url(); ?>media/js-global/jquery-1.8.1.js" type="text/javascript"></script>
<!-- Validation -->
<script src="<?php echo base_url();?>media/js-global/jquery.validate.js" type="text/javascript"></script>
<!-- End Validation -->
<script src="<?php echo base_url(); ?>media/site/js/geo-location.js" type="text/javascript" language="javascript"></script>
<script src="<?php echo base_url(); ?>media/site/js/script.js" type="text/javascript" language="javascript"></script>

<!-- Bootstrap -->
<link href="<?php echo base_url();?>media/bootstrap/css/bootstrap.min.css" rel="stylesheet" media="screen"/>
<script type="text/javascript" src="<?php echo base_url();?>media/bootstrap/js/bootstrap.min.js"></script>
<!-- End Bootstrap -->

<script type="text/javascript" src="<?php echo base_url();?>media/js-global/jquery.tablesorter.js"> </script>
<script type="text/javascript" src="<?php echo base_url();?>media/js-global/jquery.tablesorter.pager.js"> </script>

<!-- Add mousewheel plugin (this is optional) -->
	<script type="text/javascript" src="<?php echo base_url();?>media/fancybox/lib/jquery.mousewheel-3.0.6.pack.js"></script>

	<!-- Add fancyBox main JS and CSS files -->
	<script type="text/javascript" src="<?php echo base_url();?>media/fancybox/source/jquery.fancybox.js?v=2.1.5"></script>
	<link rel="stylesheet" type="text/css" href="<?php echo base_url();?>media/fancybox/source/jquery.fancybox.css?v=2.1.5" media="screen" />

	<!-- Add Button helper (this is optional) -->
	<link rel="stylesheet" type="text/css" href="<?php echo base_url();?>media/fancybox/source/helpers/jquery.fancybox-buttons.css?v=1.0.5" />
	<script type="text/javascript" src="<?php echo base_url();?>media/fancybox/source/helpers/jquery.fancybox-buttons.js?v=1.0.5"></script>

	<!-- Add Thumbnail helper (this is optional) -->
	<link rel="stylesheet" type="text/css" href="<?php echo base_url();?>media/fancybox/source/helpers/jquery.fancybox-thumbs.css?v=1.0.7" />
	<script type="text/javascript" src="<?php echo base_url();?>media/fancybox/source/helpers/jquery.fancybox-thumbs.js?v=1.0.7"></script>

	<!-- Add Media helper (this is optional) -->
	<script type="text/javascript" src="<?php echo base_url();?>media/fancybox/source/helpers/jquery.fancybox-media.js?v=1.0.6"></script>

    <!--slide show-->
    <script src="<?php echo base_url();?>media/site/skdslider/skdslider.js"></script>
    <link href="<?php echo base_url();?>media/site/skdslider/skdslider.css" rel="stylesheet" />    
    
     <!--slide show for latest news-->
    <script src="<?php echo base_url();?>media/site/slide-picflip/modernizr.js"></script>
    <script src="<?php echo base_url();?>media/site/slide-picflip/jquery.pictureflip.js"></script>
    <link href="<?php echo base_url();?>media/site/slide-picflip/pictureflip.css" rel="stylesheet" /> 
    
    <!-- Youtube TV -->
    <link href="<?php echo base_url();?>media/site/ytv/ytv.css" type="text/css" rel="stylesheet" />
    <link href="<?php echo base_url();?>media/site/ytv/assets/demo.css" type="text/css" rel="stylesheet" />
    <script type="text/javascript" src="<?php echo base_url();?>media/site/ytv/ytv.js"></script>
    <!-- Share g+ -->
    <script src="https://apis.google.com/js/platform.js" async defer></script>
    
<!--[if IE 7]>
<link href="<?php echo base_url(); ?>media/site/css/ie7.css" rel="stylesheet" type="text/css" />
<![endif]-->
<!--[if IE 8]>
<link href="<?php echo base_url(); ?>media/site/css/ie8.css" rel="stylesheet" type="text/css" />
<![endif]-->

<!-- Read more-->
<script type="text/javascript" src="<?php echo base_url();?>media/site/js/readmore.min.js"> </script>

<script type="text/javascript">
	$(document).ready(function() {
		$(".fancybox").fancybox({
			padding : 0
		});
        
	});
    
    // Youtube TV
    window.onload = function(){
		window.controller = new YTV('frame', {
			user: 'UCVu_e62cVMCe7etVqb-Haqw',
			accent: '#008D54',
			browsePlaylists: true,
			controls: true,
			autoplay: false
		});

	};  
</script>
<style type="text/css">
	.fancybox-custom .fancybox-skin {
		box-shadow: 0 0 50px #222;
	}
	.hidden {
		display: none;
	}
    .fancybox-overlay
    {
        z-index: 100000003!important;
    }
    .fancybox-nav{
        z-index: 100000003!important;
    }
    .fancybox img {
        border: 1px solid #ccc;
        margin: 10px;
    }
	
</style>